home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
VK0004.422
< prev
next >
Wrap
Text File
|
1993-02-10
|
3KB
|
86 lines
VK004FIX.422 - Fix For VK0004.422 - Number Of Files Fix
Virgin Killer #1 @15298
Sun Feb 07 22:54:54 1993
┌───────────────────────────────────────────────────────────────────────────┐
│ MOD NAME: VK004FIX.422 MOD AUTHOR: VIRGIN KILLER @15298 │
│ DIFFICULTY: Easier Than Madonna MOD DATE: FEBRUARY 7, 1993 │
│ WWIV VERSION: 4.22 │
│ FILES AFFECTED: BBS.C │
│ DESCRIPTION: ADDS A BETTER TRANSFER AREA LISTING AND IT WORKS WITH DINO'S │
│ CONFERENCING MOD. . │
└───────────────────────────────────────────────────────────────────────────┘
The Number Of Files Did Not Show Up Properly, Now It Is Fixed To Work Right
If You Have Already Installed This Mod, Just Add The Two Lines Marked With:
/*VK004FIX.422*/ And It Will Work Right.
STEP 1: Back Up Your BBS
STEP 2: Load Up BBS.C
STEP 3: Search For: void dirlist(void)
STEP 4: Block Out Existing void dirlist(void)
STEP 5: Block Read In The Following In It's Place:
/********************** Following Added: VK0004.422 ***********************/
void dirlist(void)
{
int i,i1,i2,abort;
char s[120],s1[150];
if (okansi()) {
abort=0;
nl();
pla(" 5Num 7Directory Name 2Files",&abort);0
pla("3╔═════╦══════════════════════════════════════════╦══════╗ ",&abort);0
i=0;
while ((i<num_dirs) && (udir[i].subnum!=-1)) {
dlicscan1(udir[i].subnum); /*VK004FIX.422*/
sprintf(s,"3║ 5%-3s 3║ 7%-40s 3║ 2%-4d 3║",0
udir[i].keys, directories[udir[i].subnum].name,numf);
if (strcmp(udir[curdir].keys,udir[i].keys)==0)
strcat(s," 6< Current directory");0
pla(s,&abort);
closedl(); /*VK004FIX.422*/
i++;
}
pla("3╚═════╩══════════════════════════════════════════╩══════╝ ",&abort);0
if (i==0)
pla("6None.",&abort);0
} else {
abort=0;
nl();
pla(get_string(6),&abort);
nl();
i=0;
while ((i<num_dirs) && (udir[i].subnum!=-1)) {
sprintf(s,"%3s - %s",udir[i].keys, directories[udir[i].subnum].name);
pla(s,&abort);
i++;
}
if (i==0)
pla(get_string(5),&abort);
nl();
}
}
/*********************** Previous Added: VK0004.422 ************************/
STEP 6: Compile Your BBS!
DISCLAIMER: If it causes your bbs to blow up or your users start to mutate,
don't blame me. But if there are any other probs with this mod,
leave me e-mail:
THIS Has Been A VK Production! All Rights And Lefts Reserved (and any beer to
go with it plus a table for two)
9-----
93Just Leave Me Alone
97Virgin Killer
87█1\ 7█1\7██1\ 7█1\7█▀▀1\7█▀▀█1\7█▀▀█1\7█▀▀▀1\7█1\7█1\ 7█1\7█▀▀1\7██1\ 7█1\ 7█▀▀▀1\7█1\7██1\ 7█1\ 21(512)339-78210
77█1\ 7█1\7█1\7█1\7█1\7█▀1\ 7█1\ 7█1\7█▀█1\\7█1\7▀█1\7█1\ 7█1\7█1\\7█▀1\ 7█1\7█1\7█1\ 7▀▀▀█1\7█1\7█1\7█1\7█1\ 5 3ASV0
67█▄▄█1\7█1\ 7██1\7█1\ 7█▄▄█1\7█1\7 █1\7█▄▄█1\7█1\ 7█1\\ 7█▄▄ █1\ 7██1\ 7▄▄▄█1\7█1\7█1\ 7██1\ 416.8k Baud0
51\ \ \ \ \ \ \ \ \ \\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 6WWIV v4.220